package day240520.p1;

public class Unboxing {
    public static void main(String[] args) {
        PassedsaParameter();
        AssignedtoaVariable();
    }
    private static void AssignedtoaVariable() {
    Short s=1;
    short short1=s;
    Byte b=2;
    byte byte1=b;
    Integer a=3;
    int int1=a;
    Long w=4L;
    long long1=w;
    Float f=5.0f;
    float float1=f;
    Double d =6.0;
    double double1=d;
    Character c= 'c';
    char char1 = c;
    Boolean h=true;
    boolean boolean1=h;


    }

    private static void PassedsaParameter() {
        needPassedsaParameterShort((short)1);
        needPassedsaParameterByte((byte)2);
        needPassedsaParameterInteger(3);
        needPassedsaParameterLong(4L);
        needPassedsaParameterFloat(5.0f);
        needPassedsaParameterDouble(6.0);
        needPassedsaParameterCharacter('c');
        needPassedsaParameterBoolean(false);
    }
    private static void needPassedsaParameterShort(Short needshort){
    }
    private static void needPassedsaParameterByte(Byte needbyte){
    }
    private static void needPassedsaParameterInteger(Integer needint){
    }
    private static void needPassedsaParameterLong(Long needlong){
    }
    private static void needPassedsaParameterFloat(Float neefloat){
    }
    private static void needPassedsaParameterDouble(Double needdouble){
    }private static void needPassedsaParameterCharacter(Character needchar){
    }private static void needPassedsaParameterBoolean(Boolean needboolean){
    }
}
